package com.itheima.service.omsService;

import com.itheima.commons.PageBean;
import com.itheima.domain.db.oms.OmsOrderReturnApply;
import com.itheima.dto.OmsOrderReturnApplyDto;

/**
 * 退货申请
 *
 * @author DogeGuo
 */
public interface OrderReturnApplyService {
    /**
     * 分页查询退货申请
     *
     * @param dto
     * @param current
     * @param pageSize
     * @return
     */
    PageBean<OmsOrderReturnApply> pageReturnWithParams(OmsOrderReturnApplyDto dto, Integer current, Integer pageSize);

    /**
     * 根据id获取详情
     *
     * @param id
     * @return
     */
    OmsOrderReturnApply getInfoById(Integer id);

    /**
     * 修改退回申请状态
     *
     * @param omsOrderReturnApply
     */
    void updateStatusById(OmsOrderReturnApply omsOrderReturnApply);

    /**
     * 批量删除退货申请
     *
     * @param ids
     */
    void deleteByIds(Integer[] ids);
}
